/*
 * @Author: 薛严 348352046@qq.com
 * @Date: 2023-04-06 15:50:40
 * @LastEditors: 薛严 348352046@qq.com
 * @LastEditTime: 2023-04-06 18:22:57
 * @FilePath: /my-vue-app/vite.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  server: {
    proxy:{
      '/api': {
        target: 'https://dev-ftecard.aijiatui.com/',
        changeOrigin: true
      }
    }
  }
})
